namespace ext.auto
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>Event handler definition for events accepting the parameter type System.CodeDom.CodeTypeReference, System.CodeDom.CodeTypeReference, System.CodeDom.CodeTypeReference, System.CodeDom.CodeTypeReference, System.CodeDom.CodeTypeReference, System.CodeDom.CodeTypeReference</summary>
	/// <param name="this">The proxy that sent the request</param>
	/// <param name="type">
	/// &lt;p&gt;The value of this parameter will be either &lt;tt&gt;&apos;response&apos;&lt;/tt&gt; or &lt;tt&gt;&apos;remote&apos;&lt;/tt&gt;.&lt;/p&gt;
	/// &lt;div class=&quot;mdetail-params&quot;&gt;&lt;ul&gt;
	/// &lt;li&gt;&lt;b&gt;&lt;tt&gt;&apos;response&apos;&lt;/tt&gt;&lt;/b&gt; : &lt;div class=&quot;sub-desc&quot;&gt;
	/// &lt;p&gt;An &lt;b&gt;invalid&lt;/b&gt; response from the server was returned: either 404,
	/// 500 or the response meta-data does not match that defined in the DataReader
	/// (e.g.: root, idProperty, successProperty).&lt;/p&gt;
	/// &lt;/div&gt;&lt;/li&gt;
	/// &lt;li&gt;&lt;b&gt;&lt;tt&gt;&apos;remote&apos;&lt;/tt&gt;&lt;/b&gt; : &lt;div class=&quot;sub-desc&quot;&gt;
	/// &lt;p&gt;A &lt;b&gt;valid&lt;/b&gt; response was returned from the server having
	/// successProperty === false. This response might contain an error-message
	/// sent from the server. For example, the user may have failed
	/// authentication/authorization or a database validation error occurred.&lt;/p&gt;
	/// &lt;/div&gt;&lt;/li&gt;
	/// &lt;/ul&gt;&lt;/div&gt;
	/// </param>
	/// <param name="action">Name of the action (see {@link Ext.data.Api#actions}.</param>
	/// <param name="options">The options for the action that were specified in the {@link #request}.</param>
	/// <param name="response">
	/// &lt;p&gt;The value of this parameter depends on the value of the <c>type</c> parameter:&lt;/p&gt;
	/// &lt;div class=&quot;mdetail-params&quot;&gt;&lt;ul&gt;
	/// &lt;li&gt;&lt;b&gt;&lt;tt&gt;&apos;response&apos;&lt;/tt&gt;&lt;/b&gt; : &lt;div class=&quot;sub-desc&quot;&gt;
	/// &lt;p&gt;The raw browser response object (e.g.: XMLHttpRequest)&lt;/p&gt;
	/// &lt;/div&gt;&lt;/li&gt;
	/// &lt;li&gt;&lt;b&gt;&lt;tt&gt;&apos;remote&apos;&lt;/tt&gt;&lt;/b&gt; : &lt;div class=&quot;sub-desc&quot;&gt;
	/// &lt;p&gt;The decoded response object sent from the server.&lt;/p&gt;
	/// &lt;/div&gt;&lt;/li&gt;
	/// &lt;/ul&gt;&lt;/div&gt;
	/// </param>
	/// <param name="arg">
	/// &lt;p&gt;The type and value of this parameter depends on the value of the <c>type</c> parameter:&lt;/p&gt;
	/// &lt;div class=&quot;mdetail-params&quot;&gt;&lt;ul&gt;
	/// &lt;li&gt;&lt;b&gt;&lt;tt&gt;&apos;response&apos;&lt;/tt&gt;&lt;/b&gt; : Error&lt;div class=&quot;sub-desc&quot;&gt;
	/// &lt;p&gt;The JavaScript Error object caught if the configured Reader could not read the data.
	/// If the remote request returns success===false, this parameter will be null.&lt;/p&gt;
	/// &lt;/div&gt;&lt;/li&gt;
	/// &lt;li&gt;&lt;b&gt;&lt;tt&gt;&apos;remote&apos;&lt;/tt&gt;&lt;/b&gt; : Record/Record[]&lt;div class=&quot;sub-desc&quot;&gt;
	/// &lt;p&gt;This parameter will only exist if the &lt;tt&gt;action&lt;/tt&gt; was a &lt;b&gt;write&lt;/b&gt; action
	/// (Ext.data.Api.actions.create|update|destroy).&lt;/p&gt;
	/// &lt;/div&gt;&lt;/li&gt;
	/// &lt;/ul&gt;&lt;/div&gt;
	/// </param>
	[ScriptNamespace("ext.auto")]
	[Imported()]
	[IgnoreNamespace()]
	public delegate void Delegate_ext_data_DataProxy_And_System_String_And_System_String_And_System_Object_And_System_Object_And_System_Object(ext.data.DataProxy @this, string type, string action, object options, object response, object arg);
}
